package com.shixun.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class StudentDto {
    @NotBlank(message = "姓名不能为空")
    private String sname;
    @NotBlank(message = "性别不能为空")
    private String sex;
    @NotBlank(message = "电话不能为空")
    private String phone;
    @NotBlank(message = "专业不能为空")
    private String profession;
}
